package com.example.admin.activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.TextView;

import com.example.admin.R;
import com.example.admin.SQLite.TongZhi;
import com.example.admin.base.BaseActivity;

public class NoticeDetailActivity extends BaseActivity {
    TongZhi bean;
    TextView tvTitle, tvCont, tvStatu;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_notice_detail);
        tvTitle = findViewById(R.id.tvTitle);
        tvCont = findViewById(R.id.tvCont);
        tvStatu = findViewById(R.id.tvStatu);
        bean = (TongZhi) getIntent().getSerializableExtra("bean");
        tvTitle.setText(bean.tongzhiTitle);
        tvCont.setText(bean.tongzhiContent);
        tvStatu.setText(bean.tongzhiTime + "\nAdmin");
    }

    @Override
    public void setContentView(Bundle savedInstanceState) {

    }

    @Override
    public void setInitView() {

    }
}